<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>v-model的基本操作</title>
</head>
<body>
<div id="app">
  <!--v-mode:可以实现双向绑定-->
  <input type="text" v-model="message">
  <h2>输入的值:{{message}}</h2>
</div>
<script src="../js/vue.js"></script>
<script>
  const app = new Vue({
    el: '#app',
    data: {
      message: 'Hello Vue'
    }
  });
</script>
</body>
</html>
